package com.yunpeng.dishes.common.vo.data;

import com.yunpeng.dishes.common.vo.NutrientsVO;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

/**
 * MealNutrientsView
 * 每餐摄入营养数据
 *
 * @author : Moore(hemw)
 * @date : 2020-05-13
 */
public class MealNutrientsView implements Serializable {

    /**
     * 用餐日期
     * yyyy-MM-dd
     */
    private String date;

    /**
     * 用餐时段
     */
    private Short mealType;

    /**
     * 卡路里
     */
    private BigDecimal calorie;

    /**
     * 营养数据
     */
    private List<NutrientsVO> nutrients;

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    public Short getMealType() {
        return mealType;
    }

    public void setMealType(Short mealType) {
        this.mealType = mealType;
    }

    public BigDecimal getCalorie() {
        return calorie;
    }

    public void setCalorie(BigDecimal calorie) {
        this.calorie = calorie;
    }

    public List<NutrientsVO> getNutrients() {
        return nutrients;
    }

    public void setNutrients(List<NutrientsVO> nutrients) {
        this.nutrients = nutrients;
    }

    @Override
    public String toString() {
        return "MealNutrientsView{" +
                "date='" + date + '\'' +
                ", mealType=" + mealType +
                ", calorie=" + calorie +
                ", nutrients=" + nutrients +
                '}';
    }
}
